﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace Kovan.Model.Entity.Config
{
    public class tb_news
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public long? news_id { get; set; }
        /// <summary>
        /// 模块ID
        /// </summary>
        public long? module_id { get; set; }
        /// <summary>
        /// 模块Ukey
        /// </summary>
        public string module_ukey { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        public string title { get; set; }
        /// <summary>
        /// 标题颜色
        /// </summary>
        public string title_color { get; set; }
        /// <summary>
        /// 标题图片
        /// </summary>
        public string title_pic { get; set; }
        /// <summary>
        /// 作者
        /// </summary>
        public string auditor { get; set; }
        /// <summary>
        /// 来源
        /// </summary>
        public string source { get; set; }
        /// <summary>
        /// 来源地址
        /// </summary>
        public string source_url { get; set; }
        /// <summary>
        /// 创建用户
        /// </summary>
        public long? create_user { get; set; }
        /// <summary>
        /// 创建用户姓名
        /// </summary>
        public string create_username { get; set; }
        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime? create_date { get; set; }
        /// <summary>
        /// 修改日期
        /// </summary>
        public DateTime? modify_date { get; set; }
        /// <summary>
        /// 是否首页显示
        /// </summary>
        public int? is_index { get; set; }
        /// <summary>
        /// 是否显示
        /// </summary>
        public int? is_view { get; set; }
        /// <summary>
        /// 是否置顶
        /// </summary>
        public int? is_top { get; set; }
        /// <summary>
        /// 开始日期
        /// </summary>
        public DateTime? start_date { get; set; }
        /// <summary>
        /// 结束日期
        /// </summary>
        public DateTime? end_date { get; set; }
        /// <summary>
        /// ukey
        /// </summary>
        public string ukey { get; set; }
    }
}
